package com.example.newjiesai.entity;

public class Location {

    private Integer id;
    private String term_imei = "";                   //'设备唯一识别码'
    private String location_lng = "";                //'经度，BD09坐标系'
    private String location_lat = "";                //'纬度，BD09坐标系'
    private String location_time = "";               //'定位时间'
    private String location_name = "";               //'定位地点名称'
    private  int location_type = 0;                 //'定位方式'
    private int batvalue = 100;                       //'电量'

    public Location() {}

    public Location(Integer id, String term_imei, String location_lat, String location_lng, String location_time, String location_name, int location_type, int batvalue) {
        this.id = id;
        this.term_imei = term_imei;
        this.location_lat = location_lat;
        this.location_lng = location_lng;
        this.location_time = location_time;
        this.location_name=location_name;
        this.location_type=location_type;
        this.batvalue=batvalue;
    }

    @Override
    public String toString() {
        return "Location{" +
                "id=" + id +
                ", term_imei='" + term_imei + '\'' +
                ", location_lng='" + location_lng + '\'' +
                ", location_lat='" + location_lat + '\'' +
                ", location_time='" + location_time + '\'' +
                ", location_name='" + location_name + '\'' +
                ", location_type=" + location_type +
                ", batvalue=" + batvalue +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getterm_imei() {
        return term_imei;
    }

    public void setterm_imei(String  term_imei) {
        this.term_imei = term_imei;
    }
    public String getlocation_lat() {
        return location_lat;
    }

    public void setlocation_lat(String  location_lat) {
        this.location_lat = location_lat;
    }
    public String getlocation_lng() {
        return location_lng;
    }

    public void setlocation_lng(String  location_lng) {
        this.location_lng = location_lng;
    }

    public String getlocation_time() {
        return location_time;
    }

    public void setlocation_time(String  location_time) {
        this.location_time = location_time;
    }
    public String getlocation_name() {
        return location_name;
    }

    public void setlocation_name(String  location_name) {
        this.location_name = location_name;
    }
    public int getLocation_type(){return location_type;}
    public void setLocation_type(int location_type){this.location_type=location_type;}
    public int getbatvalue(){return batvalue;}
    public void setbatvalue(int batvalue){this.batvalue=batvalue;}


}
